package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 金蝶-入库/出库明细序列号对象 erp_king_inventory_material_detail_serial_info
 *
 * @author cxl
 * @date 2024-07-13
 */
@TableName ("erp_king_inventory_material_detail_serial_info")
@ApiModel (value = "金蝶-入库/出库明细序列号", description = "金蝶-入库/出库明细序列号")
@Data
@Accessors(chain = true)
public class KingInventoryMaterialDetailSerialEntity{

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 出入库表id */
    @ApiModelProperty ("出入库表id")
    @TableField ("inventory_id")
    @Excel (name = "出入库表id")
    private String inventoryId;

    /** 出入库明细表id */
    @ApiModelProperty ("出入库明细表id")
    @TableField ("inventory_material_id")
    @Excel (name = "出入库明细表id")
    private String inventoryMaterialId;

    /** 出入库明细表 */
    @ApiModelProperty ("出入库明细表")
    @TableField ("material_detail_id")
    @Excel (name = "出入库明细表")
    private String materialDetailId;

    /** 序列号 */
    @ApiModelProperty ("序列号")
    @TableField ("serial_code")
    @Excel (name = "序列号")
    private String serialCode;

    /** 备注 */
    @ApiModelProperty ("备注")
    @TableField ("remark")
    @Excel (name = "备注")
    private String remark;

    /** 录入人 */
    @ApiModelProperty ("录入人")
    @TableField ("user_id")
    @Excel (name = "录入人")
    private String userId;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 逻辑删除 */
    @ApiModelProperty ("逻辑删除")
    @TableField ("is_used")
    @Excel (name = "逻辑删除")
    @TableLogic
    private Integer isUsed;

}
